import com.sun.media.sound.SoftTuning;
import com.sun.org.apache.xpath.internal.SourceTree;

import java.util.function.Predicate;


/**
 * @Auther: LIJingQi
 * @Description: asdasd
 * @Date: 2022/7/2 21:18
 */
public class testINDeex {
    public static void main(String[] args) {
        String s="asdasd,asdasd";
        System.out.println(s.indexOf(",")>-1);
        String string = new String();
        System.out.println(string);

        Predicate<String> p = new Predicate<String>() {
            @Override
            public boolean test(String t) {
                return t.length() > 1;
            }
        };
        p.and(t -> t.length()<3);


    }
}
